package com.pet.platform.mapper;

import com.pet.platform.entity.PetHealth;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface PetHealthMapper {
    List<PetHealth> findByPetId(@Param("petId") Long petId);
    
    PetHealth findById(@Param("id") Long id);
    
    void insert(PetHealth petHealth);
    
    void update(PetHealth petHealth);
    
    void delete(@Param("id") Long id);
}